package com.wxmit.module.system.domain.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description 登陆表单实体
 * @Author huangxiong
 * @Date 2022/7/11 11:12
 * @Version V1.0
 */
@Data
@Schema(name = "登录表单")
public class LoginBody {

    @Schema(description = "用户名")
    @NotNull(message = "用户名不能为空")
    private String userName;

    @Schema(description = "密码")
    @NotNull(message = "密码不能为空")
    private String password;

    @Schema(description = "验证码")
    private String code;

    private String uuid;

    @Schema(description = "记住我")
    private boolean rememberMe;
}
